200
|
Disables the control
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_s = "<img>1</img>Asia(4600),<img>2</img>Africa(1300),<img>3</img>Europe(747),<img>4</img>North America(579),<img>5</img>South America";
var_s = var_s + "(433),<img>6</img>Australia/Oceania(42)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.Enabled(false);
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
199
|
Show icons
public void init()
{
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgraph1.Images(COMVariant::createFromStr(var_s));
exgraph1.AutoFit(true);
var_s1 = "<img>1</img>Asia(4600),<img>2</img>Africa(1300),<img>3</img>Europe(747),<img>4</img>North America(579),<img>5</img>South America";
var_s1 = var_s1 + "(433),<img>6</img>Australia/Oceania(42)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s1));
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
198
|
Displays the control's version
public void init()
{
;
super();
print( exgraph1.Version() );
}
|
197
|
Changes the control's border (EBN)
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.Appearance(16777216);
exgraph1.Series().Add("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
196
|
Changes the control's border
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Appearance(1/*Flat*/);
exgraph1.Series().Add("Asia(4600),Africa(1300),Europe(747),North America(579),South America(433),Australia/Oceania(42)");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
195
|
Display the logo on the control's background
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.Picture(exgraph1.ExecuteTemplate("loadpicture(`c:\\exontrol\\images\\card.png`)"));
exgraph1.PictureDisplay(2/*UpperRight*/);
exgraph1.AutoFit(true);
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
194
|
Changes the control's font
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_StdFont;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_StdFont;
;
super();
exgraph1.BeginUpdate();
var_StdFont = exgraph1.Font(); com_StdFont = var_StdFont;
com_StdFont.Name("Tahoma");
com_StdFont.Size(12);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("Pie");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
193
|
Shows the value-scroll (vertical scroll bar for area-compatible chart types)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(8);
exgraph1.Misc(31/*exAllowValueScroll*/,COMVariant::createFromReal(1.5));
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
192
|
No values are shown
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Misc(29/*exShowValueIf*/,COMVariant::createFromInt(0));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + value");
exgraph1.EndUpdate();
}
|
191
|
No labels on category-axis are shown
public void init()
{
COM com_CategoryAxis,com_Serie;
anytype var_CategoryAxis,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(15);
exgraph1.Misc(28/*exShowLabelsIf*/,COMVariant::createFromInt(0));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Date");
com_CategoryAxis.Format("value mid 9 left 2");
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
190
|
No category grid lins are shown
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(8);
exgraph1.Misc(27/*exShowGridLinesIf*/,COMVariant::createFromInt(0));
exgraph1.CategoryAxis().MajorGridLines().Color("lightgray");
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
189
|
No category ticks are shown
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(8);
exgraph1.Misc(26/*exShowTicksIf*/,COMVariant::createFromInt(0));
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
188
|
Defines the lower and upper margins of the valueSize property (CTRL + Middle button and drag to resize the values)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(8);
exgraph1.Misc(25/*exValueSizeRange*/,"1,12");
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
187
|
Even though I set the AutoFit property to False, the control still gets resized when I click CTRL + Middle button
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions;
anytype var_CategoryAxis,var_GridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(8);
exgraph1.Misc(25/*exValueSizeRange*/,"0,8");
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.EndUpdate();
}
|
186
|
Defines the angle (in degrees) the value-line is rotated by, when the values goes up(positive) or down(negative)
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(23/*exValueLineUpAngle*/,COMVariant::createFromInt(0));
exgraph1.Misc(24/*exValueLineDownAngle*/,COMVariant::createFromInt(90));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Green,Black,Red,Lime,Orange,Red");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,331,-1390,-276,1225,213"); com_Serie = var_Serie;
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (value format ``)");
com_Serie.Type("line");
exgraph1.EndUpdate();
}
|
185
|
Defines the additional angle (in degrees) the value-line is rotated by
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(22/*exValueLineAddAngle*/,COMVariant::createFromInt(0));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
exgraph1.EndUpdate();
}
|
184
|
Defines the distance to extend the value-line by
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(21/*exValueLineExt*/,COMVariant::createFromInt(12));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + value");
exgraph1.EndUpdate();
}
|
183
|
Defines the distance from the edge of the outer circle where the values are displayed
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Misc(20/*exValueDistOuterCircular*/,COMVariant::createFromInt(0));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("Pie");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
exgraph1.ValuePoint(",,,,,,,red,black,2");
exgraph1.EndUpdate();
}
|
182
|
Defines the distance from the edge of the inner circle where the values are displayed
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Misc(19/*exValueDistInnerCircular*/,COMVariant::createFromInt(8));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("Pie");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
exgraph1.EndUpdate();
}
|
181
|
Defines the padding between rings of the "pie" chart-type
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1;
;
super();
exgraph1.BeginUpdate();
exgraph1.Misc(18/*exPaddingInsidePie*/,COMVariant::createFromInt(12));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("Pie");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
var_Serie1 = COM::createFromObject(exgraph1.Series()).Add("141,139,331,276,225,213"); com_Serie1 = var_Serie1;
com_Serie1.Type("Pie");
com_Serie1.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie1.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
exgraph1.EndUpdate();
}
|
180
|
Requests for a new layout once the serie's visible property is changed
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Misc(17/*exNewLayoutOnVisibleChange*/,COMVariant::createFromBoolean(false));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("Pie");
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
com_Serie.ValueFormat("`<c>` + category + `<br><c>` + (percent format ``) + `%`");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
179
|
Prevents rotating the labels
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(16/*exRadialRotateLabels*/,COMVariant::createFromBoolean(false));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("radarColumn");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
178
|
Defines the angle (in degrees) to start the circular-compatible charts (radial or pie)
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(15/*exCircularStartAngle*/,COMVariant::createFromInt(0));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("radarColumn");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
177
|
Defines polygonal instead of circular
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(14/*exRadarPolygonal*/,COMVariant::createFromBoolean(true));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410,1390,331,276,225,213"); com_Serie = var_Serie;
com_Serie.Type("radarColumn");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
176
|
Defines the distance (proportionally with the valueSize property) between the first, next and last value of the same category and its border
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(11/*exMarginValueRatio*/,COMVariant::createFromReal(0.5));
exgraph1.Misc(12/*exPaddingValueRatio*/,COMVariant::createFromReal(0.5));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.Series().Add("9900,3300,980,190,90,8");
exgraph1.EndUpdate();
}
|
175
|
Ensures that the marginal labels of the value-axis ensure fit the axis's client-rectangle
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(13/*exValueAxisFitLabel*/,COMVariant::createFromBoolean(true));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
174
|
Prevents updating the margins/minimum/maximum of the value-axis when the user scrolls the data
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Misc(10/*exUpdateRangeOnScroll*/,COMVariant::createFromInt(0));
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Data("Volume");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
173
|
Defines the padding for labels and title of the value-axis
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(9/*exValueAxisPad*/,COMVariant::createFromInt(16));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
172
|
Defines the size (height for horizontal axis and width for vertical axis) to display the category-axis (line and ticks)
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(8/*exValueAxisSize*/,COMVariant::createFromInt(16));
exgraph1.ValueAxis().OffsetLabel("16,16");
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
171
|
Defines the padding for labels and title of the category-axis
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(7/*exCategoryAxisPad*/,COMVariant::createFromInt(16));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
170
|
Defines the size (height for horizontal axis and width for vertical axis) to display the category-axis (line and ticks)
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(6/*exCategoryAxisSize*/,COMVariant::createFromInt(16));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil");
com_CategoryAxis.OffsetLabel("0,-16");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
169
|
Defines the minimum/maximum portion (as a proportion of major unit, as a numeric-value between 0 and 1) to extend the axis before the first/after the last value of the serie (minimum, maximum value)
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(4/*extVisibleBeforeAxis*/,COMVariant::createFromInt(1));
exgraph1.Misc(5/*extVisibleAfterAxis*/,COMVariant::createFromInt(1));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
168
|
Defines the number of digits to appear after the decimal point (as it is)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(3/*exDigits*/,COMVariant::createFromInt(-1));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410.1211,1390.8999,331.3421,276.8991,225.0023,213.2231"); com_Serie = var_Serie;
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
167
|
Defines the number of digits to appear after the decimal point
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(3/*exDigits*/,COMVariant::createFromInt(3));
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("1410.1211,1390.8999,331.3421,276.8991,225.0023,213.2231"); com_Serie = var_Serie;
com_Serie.ShowValue(7/*exValue | exLine | exPoint*/);
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
166
|
Defines the inferior and superior limits of the number of major-unit intervals an axis can display
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(2/*exRangeMajorUnits*/,"2");
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
165
|
Defines the base major-units alternatives (separated by comma) the control uses to calculate the major-unit for the axes
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Misc(1/*exBaseMajorUnits*/,"5");
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil");
exgraph1.Series().Add("1410,1390,331,276,225,213");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
164
|
Customizes the tooltips to show on category-axis, when the crosshair intersects the category-axis
public void init()
{
COM com_Cursor,com_Serie,com_ValueAxis;
anytype var_Cursor,var_Serie,var_ValueAxis;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Format("value + `°`");
com_ValueAxis.CursorFormat("``");
exgraph1.CategoryAxis().CursorFormat("`<b><fgcolor F0F0F0> ` + value + ` `");
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
var_Serie = exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain"); com_Serie = var_Serie;
com_Serie.Type("RangeColumn");
com_Serie.CursorFormat("%V0 +`° - ` + %V1 + `°`");
exgraph1.SeriesColors("green");
var_Cursor = exgraph1.Cursor(); com_Cursor = var_Cursor;
com_Cursor.Visible(true);
com_Cursor.SerieTooltipBackColor("black");
com_Cursor.SerieTooltipForeColor("rgb(254,254,254)");
com_Cursor.TooltipPad(COMVariant::createFromInt(4));
com_Cursor.ShowCursorValueLine(false);
exgraph1.EndUpdate();
}
|
163
|
Defines the configuration options to show the grid lines and labels between for the overview panel
public void init()
{
COM com_FormatGridLinesOptions,com_ValueAxis;
anytype var_FormatGridLinesOptions,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Format("value / 1000000");
com_ValueAxis.MajorUnit(COMVariant::createFromInt(50000000));
var_FormatGridLinesOptions = exgraph1.CategoryAxis().OverviewGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Format("`<fgcolor red><b>` + (value left 4)");
com_FormatGridLinesOptions.Color("red");
com_FormatGridLinesOptions.Style(1);
com_FormatGridLinesOptions.Width(2);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
exgraph1.SeriesColors("blue");
exgraph1.Series().Add("Volume");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
162
|
Add additional grid-lines for categories
public void init()
{
COM com_CategoryAxis,com_FormatGridLinesOptions,com_GridLinesOptions;
anytype var_CategoryAxis,var_FormatGridLinesOptions,var_GridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_FormatGridLinesOptions = com_CategoryAxis.ChartGridLines(); com_FormatGridLinesOptions = var_FormatGridLinesOptions;
com_FormatGridLinesOptions.Format("value = `Pakistan`");
com_FormatGridLinesOptions.Align(1024/*exTextCalcRect*/);
com_FormatGridLinesOptions.Width(2);
com_FormatGridLinesOptions.Color("black");
com_FormatGridLinesOptions.Skip(1);
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("lime");
exgraph1.EndUpdate();
}
|
161
|
Add grid-lines for categories
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions;
anytype var_CategoryAxis,var_GridLinesOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("lime");
exgraph1.EndUpdate();
}
|
160
|
Shifts horizontally or vertically the labels relative to their original positions
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(48);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
com_CategoryAxis.OffsetLabel("0,-22");
com_CategoryAxis.Tfi("<fgcolor red> bold");
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("lime");
exgraph1.EndUpdate();
}
|
159
|
Combines/Merges categories sharing consecutive names according to the Format property
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions;
anytype var_CategoryAxis,var_GridLinesOptions;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.CategoryAxis().Visible(true);
var_CategoryAxis = COM::createFromObject(exgraph1.CategoryAxes()).Add("Winter,Winter,Spring,Spring,Spring,Summer,Summer,Summer,Autumn,Autumn,Autumn,Winter"); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Format("value");
com_CategoryAxis.Split(true);
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("black");
exgraph1.ValueAxis().Format("value + `°`");
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
exgraph1.SeriesColors("lime");
exgraph1.EndUpdate();
}
|
158
|
Combines/Merges categories sharing consecutive names according to the Format property
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/msft.csv");
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Date");
com_CategoryAxis.Format("dateS(value left 7) format `MMM`");
com_CategoryAxis.Split(true);
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("msft");
com_Serie.Data("Open,High,Low,Close");
com_Serie.Type("candle");
exgraph1.EndUpdate();
}
|
157
|
Defines the category-axis's background color
public void init()
{
COM com_CategoryAxis,com_Legend;
anytype var_CategoryAxis,var_Legend;
str var_s,var_s1,var_s2,var_s3;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.CategoryAxis().Visible(true);
var_CategoryAxis = COM::createFromObject(exgraph1.CategoryAxes()).Add("Winter,Winter,Spring,Spring,Spring,Summer,Summer,Summer,Autumn,Autumn,Autumn,Winter"); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Format("value");
com_CategoryAxis.Split(true);
com_CategoryAxis.Tfi("bold");
com_CategoryAxis.Color(COMVariant::createFromInt(14474460));
exgraph1.ValueAxis().Format("value + `°`");
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
var_s2 = "Jan(-4 2), Feb(-3 4), Mar(1 10), Apr(5 16), May(10 21), Jun(13 25), Jul(15 28), Aug(14 27), Sep(10 22), Oct(5 15), Nov(0 7), Dec";
var_s2 = var_s2 + "(-3 3)";
var_s3 = "Jan(-4 2), Feb(-3 4), Mar(1 10), Apr(5 16), May(10 21), Jun(13 25), Jul(15 28), Aug(14 27), Sep(10 22), Oct(5 15), Nov(0 7), Dec";
var_s3 = var_s3 + "(-3 3)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s2),"Romania").Type("RangeColumn");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Dock(3/*exLeft*/);
exgraph1.EndUpdate();
}
|
156
|
Defines the color, size, style, skip and step configuration options of the major ticks to be shown on the value-axis
public void init()
{
COM com_TickOptions;
anytype var_TickOptions;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value + `°`");
var_TickOptions = exgraph1.CategoryAxis().MajorTicks(); com_TickOptions = var_TickOptions;
com_TickOptions.Color("red");
com_TickOptions.Width(4);
com_TickOptions.Style(0);
com_TickOptions.Skip(3);
com_TickOptions.Step(2);
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
exgraph1.SeriesColors("green");
exgraph1.EndUpdate();
}
|
155
|
Defines the color, size, style, skip and step configuration options of the major grid-lines to be shown by the value-axis on the chart panel
public void init()
{
COM com_GridLinesOptions;
anytype var_GridLinesOptions;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value + `°`");
var_GridLinesOptions = exgraph1.CategoryAxis().MajorGridLines(); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("red");
com_GridLinesOptions.Width(4);
com_GridLinesOptions.Style(0);
com_GridLinesOptions.Skip(3);
com_GridLinesOptions.Step(2);
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
exgraph1.SeriesColors("green");
exgraph1.EndUpdate();
}
|
154
|
Defines the color, size and style to display the line of the category-axis
public void init()
{
COM com_LineOptions;
anytype var_LineOptions;
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value + `°`");
var_LineOptions = exgraph1.CategoryAxis().AxisLine(); com_LineOptions = var_LineOptions;
com_LineOptions.Color("red");
com_LineOptions.Width(2);
com_LineOptions.Style(0);
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
exgraph1.SeriesColors("green");
exgraph1.EndUpdate();
}
|
153
|
Specifies the rotation angle (in degrees) for the title and labels of the category-axis, in 'labels,title' format
public void init()
{
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value + `°`");
exgraph1.CategoryAxis().Angle("-90");
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
exgraph1.SeriesColors("green");
exgraph1.EndUpdate();
}
|
152
|
Defines the title of the category-axis
public void init()
{
str var_s,var_s1;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value + `°`");
exgraph1.CategoryAxis().Title("<b>Range-Temperature");
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
exgraph1.SeriesColors("green");
exgraph1.EndUpdate();
}
|
151
|
Changes the font attributes to apply on the title and labels of the category-axis
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
com_CategoryAxis.Tfi("<fgcolor red> Tahoma 7 bold");
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
150
|
Defines the direction of the category axis
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
com_CategoryAxis.Reverse(true);
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
149
|
Aligns the category-axis to bottom/right or top/left side of the view
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
com_CategoryAxis.Align(0/*exAlignLeft*/);
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
148
|
Hides the category axis
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
com_CategoryAxis.Visible(false);
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
147
|
Customizes the labels to show on category axis
public void init()
{
COM com_CategoryAxis;
anytype var_CategoryAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
com_CategoryAxis.Format("(index < 2 ? `<b>` : `<fgcolor gray>`) + value");
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
146
|
Defines the categories (method 2)
public void init()
{
str var_s;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_s = "China(1410),India(1390),United States(331),Indonesia(276),Pakistan(225),Brazil(213),Nigeria(211),Bangladesh(166),Russia(145),Mex";
var_s = var_s + "ico(130)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s));
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
145
|
Defines the categories (method 1)
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.CategoryAxis().Categories("China,India,United States,Indonesia,Pakistan,Brazil,Nigeria,Bangladesh,Russia,Mexico");
exgraph1.Series().Add("1410,1390,331,276,225,213,211,166,145,130");
exgraph1.SeriesColors("blue");
exgraph1.EndUpdate();
}
|
144
|
Adds multiple category-axes
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Legend;
anytype var_CategoryAxis,var_GridLinesOptions,var_Legend;
str var_s,var_s1,var_s2,var_s3;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.CategoryAxis().MajorGridLines().Color("lightgray");
var_CategoryAxis = COM::createFromObject(exgraph1.CategoryAxes()).Add("Winter,Winter,Spring,Spring,Spring,Summer,Summer,Summer,Autumn,Autumn,Autumn,Winter"); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Format("value");
com_CategoryAxis.Split(true);
com_CategoryAxis.Tfi("bold");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("black");
exgraph1.ValueAxis().Format("value + `°`");
var_s = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s = var_s + "Dec(6 15)";
var_s1 = "Jan(5 15), Feb(6 16), Mar(8 18), Apr(10 20), May(13 23), Jun(17 28), Jul(20 32), Aug(20 32), Sep(18 28), Oct(14 23), Nov(9 17), ";
var_s1 = var_s1 + "Dec(6 15)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s),"Spain").Type("RangeColumn");
var_s2 = "Jan(-4 2), Feb(-3 4), Mar(1 10), Apr(5 16), May(10 21), Jun(13 25), Jul(15 28), Aug(14 27), Sep(10 22), Oct(5 15), Nov(0 7), Dec";
var_s2 = var_s2 + "(-3 3)";
var_s3 = "Jan(-4 2), Feb(-3 4), Mar(1 10), Apr(5 16), May(10 21), Jun(13 25), Jul(15 28), Aug(14 27), Sep(10 22), Oct(5 15), Nov(0 7), Dec";
var_s3 = var_s3 + "(-3 3)";
exgraph1.Series().Add(COMVariant::createFromStr(var_s2),"Romania").Type("RangeColumn");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Dock(3/*exLeft*/);
exgraph1.EndUpdate();
}
|
143
|
Redefines the major-unit of the value-axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().MajorUnit(COMVariant::createFromInt(1000));
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
142
|
Redefines the margins/limits of the value-axis
public void init()
{
COM com_Serie,com_Series,com_ValueAxis;
anytype var_Serie,var_Series,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Min(COMVariant::createFromInt(-100));
com_ValueAxis.Max(COMVariant::createFromInt(6000));
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
141
|
Defines the start/end position of the value-axis (relative to full axis)
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = COM::createFromObject(com_ValueAxes.Add("p")); com_ValueAxis = var_ValueAxis;
com_ValueAxis.End(COMVariant::createFromReal(0.75));
var_ValueAxis = com_ValueAxes.Add("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.End(COMVariant::createFromReal(0.25));
com_ValueAxis.Visible(false);
com_ValueAxis.ColorChart(COMVariant::createFromInt(16119285));
com_ValueAxis.Reverse(true);
var_GridLinesOptions = COM::createFromObject(com_ValueAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Width(0);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("p");
com_Serie.Type("Line");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("a");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
140
|
Customizes the tooltips to show on value-axis, when the crosshair hovers the chart
public void init()
{
COM com_Serie,com_Series,com_ValueAxis;
anytype var_Serie,var_Series,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Format("value format `0`");
com_ValueAxis.CursorFormat("value format `0`");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.Cursor().Visible(true);
exgraph1.EndUpdate();
}
|
139
|
Hides the tooltip that's shown over the value-axis, while cursor hovers the serie
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().CursorFormat("``");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.Cursor().Visible(true);
exgraph1.EndUpdate();
}
|
138
|
Shifts horizontally or vertically the labels relative to their original positions
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().OffsetLabel("4,8");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
137
|
Defines the color to apply on the chart's background right to the value-axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().ColorChart("red");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
136
|
Changes the value-axis's background color
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Color("red");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
135
|
Defines the color, size, style, skip and step configuration options of the major grid-lines to be shown by the value-axis on the chart panel
public void init()
{
COM com_GridLinesOptions,com_Serie,com_Series;
anytype var_GridLinesOptions,var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_GridLinesOptions = exgraph1.ValueAxis().MajorGridLines(); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("red");
com_GridLinesOptions.Width(4);
com_GridLinesOptions.Style(0);
com_GridLinesOptions.Skip(3);
com_GridLinesOptions.Step(2);
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
134
|
Defines the color, size, style, skip and step configuration options of the major ticks to be shown on the value-axis
public void init()
{
COM com_Serie,com_Series,com_TickOptions;
anytype var_Serie,var_Series,var_TickOptions;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_TickOptions = exgraph1.ValueAxis().MajorTicks(); com_TickOptions = var_TickOptions;
com_TickOptions.Color("red");
com_TickOptions.Width(4);
com_TickOptions.Style(0);
com_TickOptions.Skip(3);
com_TickOptions.Step(2);
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
133
|
Defines the color, size and style to display the line of the value-axis
public void init()
{
COM com_LineOptions,com_Serie,com_Series;
anytype var_LineOptions,var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_LineOptions = exgraph1.ValueAxis().AxisLine(); com_LineOptions = var_LineOptions;
com_LineOptions.Color("red");
com_LineOptions.Width(2);
com_LineOptions.Style(0);
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
132
|
Converts the serie's values to [0,1] range, as percentages (the values area always numbers between 0 and 1)
public void init()
{
COM com_Serie,com_Series,com_ValueAxis;
anytype var_Serie,var_Series,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.AsPercent(true);
com_ValueAxis.Format("value * 100 + `%`");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
131
|
Defines the rotation angle (in degrees) for the title and labels of the axis, in 'labels,title' format
public void init()
{
COM com_Serie,com_Series,com_ValueAxis;
anytype var_Serie,var_Series,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxis = exgraph1.ValueAxis(); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Angle("-90,-90");
com_ValueAxis.Title("<b>mil");
com_ValueAxis.Format("value ? value format `0` : ``");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
130
|
Defines the title of the value-axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Title("<b>mil");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
129
|
Specifies the font attributes to apply on the title and labels of the value-axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Tfi("<fgcolor red> Tahoma 10 bold");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
128
|
Defines the direction of the value axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Reverse(true);
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
127
|
Aligns the value-axis to bottom/right or top/left side of the view
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Align(2/*exAlignRight*/);
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
126
|
Customizes the labels of the value axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value ? `<c><b>` + (value format `0`) + `</b><br><c><fgcolor lightgray>mil` : ``");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
125
|
Customizes the labels of the value axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Format("value ? (value format `0`) + ` mil` : ``");
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
124
|
Hides the value-axis
public void init()
{
COM com_Serie,com_Series;
anytype var_Serie,var_Series;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.ValueAxis().Visible(false);
exgraph1.CategoryAxis().Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
exgraph1.EndUpdate();
}
|
123
|
Changes the position of value-axis (click to change the value-axis's position)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void onEvent_Click()
{
COM com_ValueAxis;
anytype var_ValueAxis;
;
var_ValueAxis = COM::createFromObject(exgraph1.ValueAxes()).Item("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Position(0);
}
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
com_ValueAxes.Add("p");
var_ValueAxis = COM::createFromObject(com_ValueAxes.Add("a")); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Color("teal");
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("p");
com_Serie.Type("Line");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("a");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
122
|
Access the value-axis giving its name (click to change the value-axis's background)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void onEvent_Click()
{
COM com_ValueAxis;
anytype var_ValueAxis;
;
var_ValueAxis = COM::createFromObject(exgraph1.ValueAxes()).Item("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.ColorChart(COMVariant::createFromInt(16119285));
exgraph1.Refresh();
}
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = COM::createFromObject(com_ValueAxes.Add("p")); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Start(COMVariant::createFromReal(0.25));
var_ValueAxis = com_ValueAxes.Add("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.End(COMVariant::createFromReal(0.25));
com_ValueAxis.Visible(false);
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("p");
com_Serie.Type("Line");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("a");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
121
|
Specifies the name of the value axis to use
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Legend,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis,com_ValueAxis1;
anytype var_CategoryAxis,var_GridLinesOptions,var_Legend,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis,var_ValueAxis1;
;
super();
exgraph1.BeginUpdate();
exgraph1.ValueSize(18);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = com_ValueAxes.Add("pop-ax"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Name("pop-ax");
com_ValueAxis.Start(COMVariant::createFromReal(0.25));
com_ValueAxis.Align(0/*exAlignLeft*/);
var_ValueAxis1 = com_ValueAxes.Add("area-ax"); com_ValueAxis1 = var_ValueAxis1;
com_ValueAxis1.Name("area-ax");
com_ValueAxis1.End(COMVariant::createFromReal(0.25));
com_ValueAxis1.Visible(false);
com_ValueAxis1.ColorChart(COMVariant::createFromInt(16119285));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("pop-ax");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
com_Serie.Vertical(true);
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("area-ax");
var_Legend = exgraph1.Legend(); com_Legend = var_Legend;
com_Legend.Visible(true);
com_Legend.Dock(3/*exLeft*/);
com_Legend.Align(0/*exStart*/);
exgraph1.EndUpdate();
}
|
120
|
Remove a value-axis (click to remove the first value-axis)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void onEvent_Click()
{
;
exgraph1.ValueAxes().Remove(COMVariant::createFromInt(0));
}
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = COM::createFromObject(com_ValueAxes.Add("p")); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Start(COMVariant::createFromReal(0.25));
var_ValueAxis = com_ValueAxes.Add("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.End(COMVariant::createFromReal(0.25));
com_ValueAxis.Visible(false);
com_ValueAxis.ColorChart(COMVariant::createFromInt(16119285));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("p");
com_Serie.Type("Line");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("a");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
119
|
Remove all value-axes (click to clear the value-axes)
// Click event - Occurs when the user presses and then releases the left mouse button over the control.
void onEvent_Click()
{
;
exgraph1.ValueAxes().Clear();
}
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = COM::createFromObject(com_ValueAxes.Add("p")); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Start(COMVariant::createFromReal(0.25));
var_ValueAxis = com_ValueAxes.Add("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.End(COMVariant::createFromReal(0.25));
com_ValueAxis.Visible(false);
com_ValueAxis.ColorChart(COMVariant::createFromInt(16119285));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("p");
com_Serie.Type("Line");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("a");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
118
|
Adds multiple value-axes
public void init()
{
COM com_CategoryAxis,com_GridLinesOptions,com_Serie,com_Serie1,com_Series,com_ValueAxes,com_ValueAxis;
anytype var_CategoryAxis,var_GridLinesOptions,var_Serie,var_Serie1,var_Series,var_ValueAxes,var_ValueAxis;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_ValueAxes = exgraph1.ValueAxes(); com_ValueAxes = var_ValueAxes;
var_ValueAxis = COM::createFromObject(com_ValueAxes.Add("p")); com_ValueAxis = var_ValueAxis;
com_ValueAxis.Start(COMVariant::createFromReal(0.25));
var_ValueAxis = com_ValueAxes.Add("a"); com_ValueAxis = var_ValueAxis;
com_ValueAxis.End(COMVariant::createFromReal(0.25));
com_ValueAxis.Visible(false);
com_ValueAxis.ColorChart(COMVariant::createFromInt(16119285));
var_CategoryAxis = exgraph1.CategoryAxis(); com_CategoryAxis = var_CategoryAxis;
com_CategoryAxis.Categories("Asia,Africa,Europe,North America,Antarctica,South America,Australia/Oceania");
var_GridLinesOptions = COM::createFromObject(com_CategoryAxis.MajorGridLines()); com_GridLinesOptions = var_GridLinesOptions;
com_GridLinesOptions.Color("lightgray");
var_Series = exgraph1.Series(); com_Series = var_Series;
var_Serie = com_Series.Add("4600,1300,747,579,0,422,42"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Axis("p");
com_Serie.Type("Line");
com_Serie.Misc(6/*exLineSize*/,COMVariant::createFromInt(3));
var_Serie1 = com_Series.Add("4458,3037,1018,2470,1784,1018,856"); com_Serie1 = var_Serie1;
com_Serie1.Name("Area");
com_Serie1.Axis("a");
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
117
|
Defines the foreground color to show the visible values within the control's legend
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Background(208/*exLegendLabel*/,WinApi::RGB2int(0,0,1));
exgraph1.Background(206/*exLegendSymbol*/,WinApi::RGB2int(0,0,1));
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"); com_Serie = var_Serie;
com_Serie.Name("Area");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Visible(false);
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
116
|
Defines a different background color to show the visible values within the control's legend
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Background(204/*exLegendUnit*/,WinApi::RGB2int(240,240,240));
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"); com_Serie = var_Serie;
com_Serie.Name("Area");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Visible(false);
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
115
|
Defines a different background color to show the hidden values within the control's legend
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Background(205/*exLegendUnitHidden*/,WinApi::RGB2int(240,240,240));
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"); com_Serie = var_Serie;
com_Serie.Name("Area");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Visible(false);
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
114
|
Defines the foreground color to show the hidden values within the control's legend
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
exgraph1.Background(209/*exLegendLabelHidden*/,WinApi::RGB2int(220,220,220));
exgraph1.Background(207/*exLegendSymbolHidden*/,WinApi::RGB2int(220,220,220));
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"); com_Serie = var_Serie;
com_Serie.Name("Area");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Visible(false);
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
113
|
Hides a symbol or item of the legend by code
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.AutoFit(true);
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)"); com_Serie = var_Serie;
com_Serie.Name("Area");
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)"); com_Serie = var_Serie;
com_Serie.Name("Population");
com_Serie.Visible(false);
exgraph1.Legend().Visible(true);
exgraph1.EndUpdate();
}
|
112
|
Defines the percentage of transparency for displaying tooltips on series
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(211/*exSerieCursorTooltipTransparent*/,WinApi::RGB2int(75,0,0));
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
exgraph1.Cursor().Visible(true);
exgraph1.EndUpdate();
}
|
111
|
Defines the percentage of transparency for displaying tooltips on axes
public void init()
{
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(210/*exAxisCursorTooltipTransparent*/,WinApi::RGB2int(75,0,0));
exgraph1.AutoFit(true);
exgraph1.Series().Add("Asia(4600), Africa(1300), Europe(747), North America(579), South America(431), Australia/Oceania(42)");
exgraph1.Series().Add("Asia(4458), Africa(3037), North America(2470), South America(1784), Antarctica(1400), Europe(1018), Australia/Oceania(856)");
exgraph1.Cursor().Visible(true);
exgraph1.EndUpdate();
}
|
110
|
Specifies the percent of transparency to show the overview-selection (0 indicates opaque, 50% indicates semi-transparent, and 100% indicates fully transparent)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.Background(203/*exOverviewSelTransparent*/,WinApi::RGB2int(75,0,0));
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
109
|
Changes the color to show the overview's selection (EBN color)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.Background(202/*exOverviewSel*/,0x1000000);
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
108
|
Changes the color to show the overview's selection (solid color)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(202/*exOverviewSel*/,0x10000ff);
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
107
|
Changes the color to show the overview's selection
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(202/*exOverviewSel*/,WinApi::RGB2int(255,0,0));
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
106
|
Changes the overview's background
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(200/*exOverviewSelOut*/,WinApi::RGB2int(240,240,240));
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
105
|
Specifies the visual-appearance to display the left/right parts outside of the overview-selection
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(200/*exOverviewSelOut*/,WinApi::RGB2int(240,240,240));
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
104
|
Adds left/ resize-margins of the overview's selection to resize it (EBN)
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.Background(199/*exOverviewSelResize*/,0x1000000);
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
103
|
Adds left/ resize-margins of the overview's selection to resize it
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(199/*exOverviewSelResize*/,WinApi::RGB2int(1,0,0));
exgraph1.ValueSize(6);
exgraph1.Data("C:\\Program Files\\Exontrol\\ExGraph\\Sample\\Data/aapl.txt");
var_Serie = COM::createFromObject(exgraph1.Series()).Add(); com_Serie = var_Serie;
com_Serie.Name("aapl");
com_Serie.Data("AAPL (open),AAPL (high),AAPL (low),AAPL (close)");
com_Serie.Type("candle");
exgraph1.Overview().Visible(true);
exgraph1.EndUpdate();
}
|
102
|
Changes the colors to show the value's tooltip
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.Background(65/*exToolTipBackColor*/,WinApi::RGB2int(1,0,0));
exgraph1.Background(66/*exToolTipForeColor*/,WinApi::RGB2int(255,255,255));
exgraph1.AutoFit(true);
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"); com_Serie = var_Serie;
com_Serie.ShowValue(1/*exPoint*/);
exgraph1.EndUpdate();
}
|
101
|
Changes the visual appearance of the borders of the tooltips
public void init()
{
COM com_Serie;
anytype var_Serie;
;
super();
exgraph1.BeginUpdate();
exgraph1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exgraph1.Background(64/*exToolTipAppearance*/,0x1000000);
exgraph1.AutoFit(true);
var_Serie = COM::createFromObject(exgraph1.Series()).Add("Pacific Ocean(16525), Atlantic Ocean(10646), Indian Ocean(7056), Southern Ocean(2033), Arctic Ocean(1406)"); com_Serie = var_Serie;
com_Serie.ShowValue(1/*exPoint*/);
exgraph1.EndUpdate();
}
|